module.exports = {
  productionSourceMap: false, // 关键语句
  lintOnSave: false,
  configureWebpack: (config) => {
    if (process.env.NODE_ENV === "production") {
      config.optimization.minimizer[0].options.terserOptions.compress.drop_console = true;
    }
  },
};
